@import "../../styles/base";

.detail-table-box-container {
  width: 100%;

  .table-box {
    width: 99%;
    border: 2px $color-primary solid;
    // border-left: none;
    // border-right: none;
    // border-top: none;
    border-radius: 10px;
    background-color: $color-primary;
    box-sizing: border-box;

    .row {
      position: relative;
      display: flex;
      justify-content: space-around;
      align-items: center;
      width: 100%;
      height: 70px;
      border: none;
      border-bottom: 2px $color-primary solid;
      background-color: $bg-color-base;
      box-sizing: border-box;

      .title {
        font-size: 26px;
        color: $font-color-light;
      }

      .triangle {
        position: absolute;
        left: 50%;
        bottom: -26px;
        transform: translateX(-50%);
        height: 0;
        width: 0px;
        border-top: solid 16px $color-primary;
        border-left: solid 16px transparent;
        border-right: solid 16px transparent;
        border-bottom: solid 16px transparent;
        z-index: 99;
      }

      .label {
        width: 32%;
        font-size: 26px;
        color: $font-color-dark;
        margin-left: 35px;
      }

      .content {
        width: 65%;
        font-size: 26px;
        color: $color-primary;
        text-align: end;
        margin-right: 10px;
      }
    }

    .row:first-child {
      justify-content: center;
      border-top: none;
      border-bottom: 2px $color-primary solid;
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
      background-color: transparent;
    }

    .row:last-child {
      border-top: none;
      border-bottom: none;
      border-bottom-left-radius: 10px;
      border-bottom-right-radius: 10px;
    }
  }

  .interest-detail {
    margin-top: 35px;
    overflow-y: hidden;
    transition: all 0.3s ease-out;

    .title {
      margin-bottom: 23px;
      margin-left: 12px;
    }

    .text {
      font-size: 26px;
      color: $font-color-dark;
    }

    .bg-white {
      background-color: $bg-color-base !important;
    }
  }

  .close {
    height: 0;
    margin-top: 0;
  }

  .expand-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 87px;

    .text {
      font-size: 28px;
      color: $color-primary;
    }

    .iconfont {
      color: $color-primary;
      transition: all 0.3s ease-out;
      font-size: 50px;
    }

    .down {
      transform: rotate(180deg)
    }
  }
}
